Produced by Araxis Merge on 2021-05-13 09:09:04 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | /Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_LayeredNavigation/templates/layer | view.phtml | 2017-12-23 14:49:48 +0000 |
| 2 | /Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_LayeredNavigation/templates/layer | view.phtml | 2021-01-30 01:53:20 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 112 |
| Changed | 2 | 4 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | /** | 2 | /** | |||
| 3 | * Copyright © 2015 Magento. All rights reserved. | 3 | * Copyright © 2015 Magento. All rights reserved. | |||
| 4 | * See COPYING.txt for license details. | 4 | * See COPYING.txt for license details. | |||
| 5 | */ | 5 | */ | |||
| 6 | 6 | |||||
| 7 | // @codingStandardsIgnoreFile | 7 | // @codingStandardsIgnoreFile | |||
| 8 | ?> | 8 | ?> | |||
| 9 | <?php | 9 | <?php | |||
| 10 | /** | 10 | /** | |||
| 11 | * Category layered navigation | 11 | * Category layered navigation | |||
| 12 | * | 12 | * | |||
| 13 | * @var $block \Magento\LayeredNavigation\Block\Navigation | 13 | * @var $block \Magento\LayeredNavigation\Block\Navigation | |||
| 14 | */ | 14 | */ | |||
| 15 | ?> | 15 | ?> | |||
| 16 | 16 | |||||
| 17 | <?php if ($block->canShowBlock()): ?> | 17 | <?php if ($block->canShowBlock()): ?> | |||
| 18 | <div class="block filter" id="layered-filter-block" data-mage-init='{"collapsible":{"openedState": "active", "collapsible": true, "active": false, "collateral": { "openedState": "filter-active", "element": "body" } }}'> | 18 | <div class="block filter" id="layered-filter-block" data-mage-init='{"collapsible":{"openedState": "active", "collapsible": true, "active": false, "collateral": { "openedState": "filter-active", "element": "body" } }}'> | |||
| 19 | <?php $filtered = count($block->getLayer()->getState()->getFilters()) ?> | 19 | <?php $filtered = count($block->getLayer()->getState()->getFilters()) ?> | |||
| 20 | <div class="block-title filter-title" data-count="<?php /* @escapeNotVerified */ echo $filtered; ?>"> | 20 | <div class="block-title filter-title" data-count="<?php /* @escapeNotVerified */ echo $filtered; ?>"> | |||
| 21 | <strong data-role="title"><?php /* @escapeNotVerified */ echo __('Shop By') ?></strong> | 21 | <strong data-role="title"><?php /* @escapeNotVerified */ echo __('Shop By') ?></strong> | |||
| 22 | </div> | 22 | </div> | |||
| 23 | <div class="block-content filter-content"> | 23 | <div class="block-content filter-content"> | |||
| 24 | <?php echo $block->getChildHtml('state') ?> | 24 | <?php echo $block->getChildHtml('state') ?> | |||
| 25 | 25 | |||||
| 26 | <?php if ($block->getLayer()->getState()->getFilters()): ?> | 26 | <?php if ($block->getLayer()->getState()->getFilters()): ?> | |||
| 27 | <div class="block-actions filter-actions"> | 27 | <div class="block-actions filter-actions"> | |||
| 28 | <a href="<?php /* @escapeNotVerified */ echo $block->getClearUrl() ?>" class="action clear filter-clear"><span><?php /* @escapeNotVerified */ echo __('Clear All') ?></span></a> | 28 | <a href="<?php /* @escapeNotVerified */ echo $block->getClearUrl() ?>" class="action clear filter-clear"><span><?php /* @escapeNotVerified */ echo __('Clear All') ?></span></a> | |||
| 29 | </div> | 29 | </div> | |||
| 30 | <?php endif; ?> | 30 | <?php endif; ?> | |||
| 31 | <?php $wrapOptions = false; $i=0; ?> | 31 | <?php $wrapOptions = false; $i=0; ?> | |||
| 32 | <?php foreach ($block->getFilters() as $filter): ?> | 32 | <?php foreach ($block->getFilters() as $filter): ?> | |||
| 33 | <?php if ($filter->getItemsCount()): ?> | 33 | <?php if ($filter->getItemsCount()): ?> | |||
| 34 | <?php if (!$wrapOptions): ?> | 34 | <?php if (!$wrapOptions): ?> | |||
| 35 | <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle"><?php /* @escapeNotVerified */ echo __('Shopping Options') ?></strong> | 35 | <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle"><?php /* @escapeNotVerified */ echo __('Shopping Options') ?></strong> | |||
| 36 | <div class="filter-options" id="narrow-by-list" data-role="content" data-mage-init='{"accordion":{"openedState": "active", "collapsible": true, "active": false, "multipleCollapsible": false}}'> | 36 | <div class="filter-options" id="narrow-by-list" data-role="content" data-mage-init='{"accordion":{"openedState": "active", "collapsible": true, "active": "[0 1 2 3]", "multipleCollapsible": true}}'> | |||
| 37 | <?php $wrapOptions = true; endif; ?> | 37 | <?php $wrapOptions = true; endif; ?> | |||
| 38 | <div data-role="collapsible" class="filter-options-item <?php if($i==0): ?>allow active<?php endif; ?>"> | 38 | <div data-role="collapsible" class="filter-options-item <?php if($i==0): ?>allow active<?php endif; ?>"> | |||
| 39 | <div data-role="title" class="filter-options-title"><?php /* @escapeNotVerified */ echo __($filter->getName()) ?>< | 39 | <div data-role="title" class="filter-options-title"><?php /* @escapeNotVerified */ echo __($filter->getName()) ?><span class="toggle"></span></div> | |||
| 40 | <div data-role="content" class="filter-options-content"><?php /* @escapeNotVerified */ echo $block->getChildBlock('renderer')->render($filter); ?></div> | 40 | <div data-role="content" class="filter-options-content"><?php /* @escapeNotVerified */ echo $block->getChildBlock('renderer')->render($filter); ?></div> | |||
| 41 | </div> | 41 | </div> | |||
| 42 | <?php $i++; ?> | 42 | <?php $i++; ?> | |||
| 43 | <?php endif; ?> | 43 | <?php endif; ?> | |||
| 44 | <?php endforeach; ?> | 44 | <?php endforeach; ?> | |||
| 45 | <?php if ($wrapOptions): ?> | 45 | <?php if ($wrapOptions): ?> | |||
| 46 | </div> | 46 | </div> | |||
| 47 | <?php else: ?> | 47 | <?php else: ?> | |||
| 48 | <script> | 48 | <script> | |||
| 49 | require([ | 49 | require([ | |||
| 50 | 'jquery' | 50 | 'jquery' | |||
| 51 | ], function ($) { | 51 | ], function ($) { | |||
| 52 | $('#layered-filter-block').addClass('filter-no-options'); | 52 | $('#layered-filter-block').addClass('filter-no-options'); | |||
| 53 | }); | 53 | }); | |||
| 54 | </script> | 54 | </script> | |||
| 55 | <?php endif; ?> | 55 | <?php endif; ?> | |||
| 56 | </div> | 56 | </div> | |||
| 57 | </div> | 57 | </div> | |||
| 58 | <?php endif; ?> | 58 | <?php endif; ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.